package org.vsg.stock.basic.persistence;

import java.util.List;
import java.util.Map;
import java.util.Set;

import org.springframework.dao.DataAccessException;
import org.vsg.stock.basic.domain.BalanceLine;
import org.vsg.stock.basic.domain.BalanceLineKeyPoint;

/**
 * 
 * @author vison
 *
 */
public interface BalanceLineDao {
	
	/**
	 * 
	 * @param entities
	 * @throws DataAccessException
	 */
	void save(BalanceLine balanceLine) throws DataAccessException;
	
	/**
	 * find by point to line id 
	 * @param balaLines
	 * @return
	 * @throws DataAccessException
	 */
	Map<BalanceLineKeyPoint, Set<String>> findAndByOrgBalaline(List<BalanceLine> balaLines ) throws DataAccessException;
	
	
	
	
}
